package indi.lqzhi.template.ui.activity;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import java.util.Arrays;
import java.util.List;

import indi.lqzhi.basic.ui.activity.general.ViewPageMainActivity;
import indi.lqzhi.template.R;
import indi.lqzhi.template.ui.fragments.home.HomeFragment;
import indi.lqzhi.template.ui.fragments.other.OtherFragment;
import indi.lqzhi.template.ui.fragments.user.UserFragment;

public class MainActivity extends ViewPageMainActivity {
    @NonNull
    @Override
    public List<Fragment> getFragments() {
        return Arrays.asList(
                new HomeFragment(),
                new OtherFragment(),
                new UserFragment()
        );
    }

    @Override
    public int getMenus() {
        return R.menu.menu_main;
    }

    @Override
    protected void initThisAcivity() {

    }
}
